import { ENUM_MAJOR } from "@/enum/system.enum";
import { SelectOptionData } from "@arco-design/web-vue";

export interface ITemplate {
  templateId?: string;
  templateName: string;
  resolutionId?: string;
  templateColor: string;
  templateData: null | any; // 根据实际情况改变类型
  imgSrc: string;
  scale: number;
  deptId: string;
  /* 闪灯频率 */
  frequency: number;
  share: "0" | "1";
  resolution: {
    resolutionId: string;
    width: number;
    height: number;
    description: string;
    dpi: number;
    scale: number;
    toRotate: number;
  };
  resolutionDesc: string;
  resolutionWidth: number;
  resolutionHeight: number;
  templateList: any[];
  /* 是否是主模板 */
  major: ENUM_MAJOR;
  goodsList?: any[];
  times: number;
  light: string;
}
export type TemplateStatistics = {
  desc: string;
  options: SelectOptionData[];
  resolutionId: string;
  templateId: string;
};
